package com.cmccgz.udacs_landlord_webapp.data;

import com.cmccgz.udacs_landlord_webapp.bean.DeviceInfoBean;

import java.util.List;

public interface DevicesDataSource {
    interface OnGetDevicesLisenter {
        void getDevicesCache(List<DeviceInfoBean> datas);

        void getDevicesSuccess(List<DeviceInfoBean> datas);

        void getDevicesError(String msg);
    }

    void getDevices(OnGetDevicesLisenter callBack);
}
